package com.yuexun.beilunpatient.ui.doctor.api;

import com.yuexun.beilunpatient.base.BaseEntity;
import com.yuexun.beilunpatient.ui.doctor.bean.CollectionDocInfoBean;
import com.yuexun.beilunpatient.ui.doctor.bean.SeeDocInfoBean;
import com.yuexun.beilunpatient.ui.doctor.bean.SignDocInfoBean;

import java.util.Map;

import retrofit.http.FieldMap;
import retrofit.http.FormUrlEncoded;
import retrofit.http.POST;
import rx.Observable;

/**
 * Created by chenss on 2018/12/4.
 */
public interface DoctorApi {

    //获取看过医生信息
    @FormUrlEncoded
    @POST("inquireHaveSeeDoctorList.json?")
    Observable<BaseEntity<SeeDocInfoBean>> inquireHaveSeeDoctorList(@FieldMap Map<String, String> praise);

    //获取签约医生信息
    @FormUrlEncoded
    @POST("inquireSigningDoctorList.json?")
    Observable<BaseEntity<SignDocInfoBean>> inquireContractedPatientSignDocInfo(@FieldMap Map<String, String> praise);

    //获取收藏医生信息
    @FormUrlEncoded
    @POST("inquireCollectionDoctorPageList.json?")
    Observable<BaseEntity<CollectionDocInfoBean>> inquireCollectionDoctorPageList(@FieldMap Map<String, String> praise);

    //删除收藏医生
    @FormUrlEncoded
    @POST("deleteCollectionDoctor.json?")
    Observable<BaseEntity<String>> deleteCollectionDoctor(@FieldMap Map<String, String> praise);

    //添加收藏医生
    @FormUrlEncoded
    @POST("addCollectionDoctor.json?")
    Observable<BaseEntity<String>> addCollectionDoctor(@FieldMap Map<String, String> praise);
}
